package com.dd.cloud.user.entity.chknowl;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 医案
 * </p>
 *
 * @author czg
 * @since 2022-07-04
 */
@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Table(comment = "书院医案表")
public class ChknowlConsilia implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Column(isKey = true, isAutoIncrement = true)
    private Integer id;

    /**
     * 名字
     */
    @Column(length = 32, comment = "标题")
    private String name;

    /**
     * 医家
     */
    @Column(comment = "医家")
    private String doctorHouse;

    /**
     *症状
     */
    @Column(comment = "症状")
    private String symptom;


    /**
     * 医案内容
     */
    @Column( comment = "医案内容",length = 2048)
    private String content;

    /**
     * 状态 1正常-1删除 0.下架
     */
    @Column(length = 4, comment = "状态 1正常-1删除 0.下架")
    private Integer status;

//    /**
//     *排序
//     */
//    @Column(comment = "排序")
//    private Integer sort;

    /**
     * 创建时间
     */
    @Column(comment = "创建时间")
    private LocalDateTime createDate;


}
